package com.ocom.common.request.emqx;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class YhMqtt0607Request implements Serializable {

    private String deviceNo;

    //订单号
    private Long orderNo;

    //账户余额 单位：元
//    private BigDecimal balance;

    //洗衣模式
    @Min(value = 1,message = "请选择正确的洗衣模式")
    @Max(value = 7,message = "请选择正确的洗衣模式")
    private Integer laundryModel;

}
